﻿using System;
using System.Collections.Generic;
using LB.Server.DAL.DomainEntitites;

namespace LB.Server.DAL
{
    public interface IBookRepository : IDisposable
    {
        Book GetBook(int bookId);
        List<Book> GetAllBooks();
        List<Book> GetBooksByAuthor(int authorId);
        Book AddBook(Book newBook);
        Chapter AddChapter(Chapter chapter);
        List<Chapter> GetChapters(int bookId);
    }
}